package ccom.testreturn;

public class User {
	public int age=0;
	public User(){
		
	}
	public int setAge(int age){
		try {
			this.age=age;
			int a =1/0;
			return age;
		} catch (Exception e) {
			System.out.println("Exception");
			return ++age;
		}finally {
			this.age=1000;
			return 55;
		}
	}
	
	
	
	
	public static void main(String[] args) {
		User user = new User();
		System.out.println(user.setAge(50));
		System.out.println(user.age);
		System.out.println("indexof    "+"ab".indexOf("b")    );
	}
}
